class OAuth2Token(dict[str, object]):
    def __init__(self, params) -> None: ...
    def is_expired(self, leeway: int = 60): ...
    @classmethod
    def from_dict(cls, token): ...
